<?php
$view_right = '<div id="right"><div class="boxright"><div class="title"><span style="background:url(images/icon-right.jpg) left no-repeat"><a href="javascript:void();"><font color="#DA251D">&nbsp; &nbsp; &nbsp; Video</font></a></span></div>';
$videonb = $tc->VideoNoiBat();
while($row_videonb = mysql_fetch_array($videonb)){
	$view_right .= "<div><iframe width='264' height='200' src='{$row_videonb[url]}?rel=0' frameborder='0'></iframe></div><p><a href='javascript:void();'>{$row_videonb[MoTa]}</a></p><br />";
}
$view_right .= '</div>';

$menuright = $tc->menu(0,4);
while($row_menuright = mysql_fetch_array($menuright)){
	if($row_menuright['url_hinh']!='') $urlHinh = $row_menuright['url_hinh']; else $urlHinh = 'icon-thong-tin.jpg';
	$view_right .= "<div class='boxright'><div class='title'><span style='background:url(images/{$urlHinh}) left no-repeat'>&nbsp; &nbsp; &nbsp; {$row_menuright['name']}</span></div>";
	$idMenuRight = $row_menuright['id'];
	$rightsub = $tc->menu($idMenuRight,4);
	while($row_rightsub = mysql_fetch_array($rightsub)){
		$view_right .= "<div class='thongtin'><strong><a href='{$row_rightsub['url']}'>{$row_rightsub['name']}</a></strong></div>";
	}
	$view_right .= "</div>";
}
$view_right .= '</div>';
echo $view_right;